﻿


Imports iTextSharp.text
Imports iTextSharp.text.pdf
Imports System.IO


Partial Class Customer_checkdll
    Inherits System.Web.UI.Page
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
            Dim doc1 As New Document()
            Dim path As String = Server.MapPath("../Manuals")
            PdfWriter.GetInstance(doc1, New FileStream(path & "/Doc2.pdf", FileMode.Create))
            doc1.Open()
            doc1.Add(New Paragraph("My first PDF Testing123"))
            doc1.Close()
        End If
    End Sub
End Class
